package com.zhumengquan.wozhi.service;

import com.zhumengquan.wozhi.mapper.DeleteUserByIdDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeleteUserByIdService {
    @Autowired
    private DeleteUserByIdDao deleteUserByIdDao;

    public int deleteUser(int id){
        int result = deleteUserByIdDao.deleteUserById(id);
        System.out.println(result);
        return result;
    }

}
